import json


def get_page(page):
    try:
        page_str = str(page, 'utf-8')
        page_json = json.loads(page_str)
        page_num = page_json.get("page_num") or 1
        page_size = page_json.get("page_size") or 10
    except Exception:
        return 1, 10
    return page_num, page_size
